package org.jeecg.modules.bicycle.order.service;

import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.bicycle.order.entity.BikeVehicleOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.bicycle.order.vo.BikeVehicleOrderRes;
import org.jeecg.modules.bicycle.order.vo.IsFree;
import org.jeecg.modules.bicycle.order.vo.Refund;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import java.util.Date;

/**
 * @Description: 借车记录
 * @Author: 月月鸟
 * @Date:   2021-05-28
 * @Version: V1.0
 */
public interface IBikeVehicleOrderService extends IService<BikeVehicleOrder> {

    Result<?> stopTime(BikeVehicleOrderRes bikeVehicleOrderRes);

    Result<?> pageList(Integer pageNo, Integer pageSize, BikeVehicleOrderRes bikeVehicleOrderRes);

    Result<?> stopTimeCost(String id);

    Result<?> pageListById(String id);

    ModelAndView exportXls(HttpServletRequest request, BikeVehicleOrderRes bikeVehicleOrderRes);

    Result<?> isFree(IsFree isFree);

    Result<?> isRefund(IsFree isFree);
}
